package com.syezon.wifikey.pwd.info;

/**
 * Created by Administrator on 2018/9/14.
 */


public class CommonPwdInfo {

    public static final int TYPE_PWD = 0;
    public static final int TYPE_TIP = 1;

    private int rank;
    private String pwd;
    private int type;

    public CommonPwdInfo() {

    }


    public CommonPwdInfo(int rank, String pwd) {
        this.rank = rank;
        this.pwd = pwd;
    }


    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        return sb.append("{rank : ")
                .append(rank)
                .append(", pwd : ")
                .append(pwd).toString();
    }
}
